package com.bat;

import com.bat.util.R;

/**
 * @Description:
 * @Author: zpf
 * @Date: 2019/11/21 下午3:06
 */
public class BaseController {
    public <T> R<T> s(T t) {
        return new R<T>().success().code(0).data(t);
    }

    public <T> R<T> s() {
        return new R<T>().success().code(0);
    }
}
